<?php

require_once 'PHPCR/RangeIterator.php';
require_once 'PHPCR/NoSuchElementException.php';
require_once 'PHPCR/Property.php';


/**
 * Allows easy iteration through a list of <code>Property</code>s
 * with <code>nextProperty</code> as well as a <code>skip</code> method.
 *
 * @package phpcr
 */
interface phpCr_PropertyIterator extends phpCr_RangeIterator
{
    /**
     * Returns the next <code>Property</code> in the iteration.
     *
     * @return the next <code>Property</code> in the iteration.
     * @throws NoSuchElementException if iteration has no more <code>Property</code>s.
     */
    public function nextProperty();
}

